package com.qsd.StudentSystem.dao;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qsd.common.po.Grade;
import com.qsd.common.pojo.GradeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GradeDao extends BaseMapper<GradeEntity> {
	
	List<Grade> queryByUsername(String username);

    IPage<Grade> findAndPage(Page<Grade> objectPage, @Param("courseName") String courseName,@Param("studentName") String studentName);
}
